<?php
include_once dirname(__FILE__)."/../lang/error.php";
include_once dirname(__FILE__)."/../io/rows.php";
include_once dirname(__FILE__)."/../io/db.php";
class tipcomment extends rows{
 	function init(){
 		$this->tableName="sn_tipcomment";
 		$this->col["tcid"]   = new column("tcid",dataCheck::INTEGER);
 		$this->col["tccontent"] = new column("tccontent",dataCheck::STRING|dataCheck::NOTNULL);
 		$this->col["tctime"]  = new column("tctime",dataCheck::INTEGER|dataCheck::NOTNULL);
 		$this->col["tcsendip"]  = new column("tcsendip",dataCheck::STRING|dataCheck::NOTNULL);
 		$this->col["tcartid"]  = new column("tcartid",dataCheck::INTEGER|dataCheck::NOTNULL);
 		$this->col["tcuid"]  = new column("tcuid",dataCheck::INTEGER|dataCheck::NOTNULL);
 		$this->col["tcstate"]  = new column("tcstate",dataCheck::INTEGER);
 	} 	 	
 }
